package com.guli.mall.pms.entity.vo;
/*
 * @Author 罗
 * @date 2020/9/25 - 4:44 下午
 */

import com.guli.common.valid.AddGroup;
import com.guli.mall.pms.entity.*;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class SpuInfoImgVo extends SpuInfoEntity {

    @NotNull(groups = AddGroup.class)
    private SpuInfoDescEntity spuInfoDescEntity;

    @NotEmpty
    private List<SpuImagesEntity> images;

    private BigDecimal buyBounds;
    private BigDecimal growBounds;

}
